<?php


namespace app\common\model;


use think\Model;

class LogisticsReplenish extends Model
{
    public function getReplenishById($where){
        $result = $this->where($where)->find();
        return $result;
    }
    public function removeReplenishByMemberId($id){
        $res = $this->where(['member_id'=>$id])->find();
        $result = $res->delete();
        return $result;
    }
    public function getReplenishInfoByWhere($where){
        $res = $this->where($where)->find();
        return $res;
    }
}